﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;
using System.ComponentModel;

namespace SDB
{
    public class PlaylistListBoxItem : ListBoxItem
    {
        private static readonly DependencyProperty IsPlayingProperty = 
            DependencyProperty.Register("IsPlaying", typeof(bool), 
            typeof(PlaylistListBoxItem), new PropertyMetadata(false));

        public PlaylistListBoxItem()
            : base()
        {
        }

        [BindableAttribute(true)]
        public bool IsPlaying
        {
            get { return (bool)GetValue(IsPlayingProperty); }
            set { SetValue(IsPlayingProperty, value); }
        }
    }
}
